package com.yunshipei.model;

import java.io.Serializable;

import com.google.gson.annotations.SerializedName;

public class Departments implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2632703831776617546L;
	@SerializedName ("_id")
	private String _id;
	@SerializedName ("companyId")
	private String companyId;
	@SerializedName ("companyName")
	private String companyName;
	@SerializedName ("departmentId")
	private String departmentId;
	@SerializedName ("memberNumber")
	private String memberNumber;
	@SerializedName ("parentDepartmentId")
	private String parentDepartmentId;
	@SerializedName ("createdTime")
	private String createdTime;
	@SerializedName ("updatedTime")
	private String updatedTime;
	@SerializedName ("departmentName")
	private String departmentName;
	@SerializedName ("childrenDepartmentIds")
	private String[] childrenDepartmentIds;
	public String get_id() {
		return _id;
	}
	public void set_id(String _id) {
		this._id = _id;
	}
	public String getCompanyId() {
		return companyId;
	}
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	public String getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}
	public String getMemberNumber() {
		return memberNumber;
	}
	public void setMemberNumber(String memberNumber) {
		this.memberNumber = memberNumber;
	}
	public String getParentDepartmentId() {
		return parentDepartmentId;
	}
	public void setParentDepartmentId(String parentDepartmentId) {
		this.parentDepartmentId = parentDepartmentId;
	}
	public String getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(String createdTime) {
		this.createdTime = createdTime;
	}
	public String getUpdatedTime() {
		return updatedTime;
	}
	public void setUpdatedTime(String updatedTime) {
		this.updatedTime = updatedTime;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	public String[] getChildrenDepartmentIds() {
		return childrenDepartmentIds;
	}
	public void setChildrenDepartmentIds(String[] childrenDepartmentIds) {
		this.childrenDepartmentIds = childrenDepartmentIds;
	}
	
	
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	/**
	 * private String _id;
	private String companyId;
	private String departmentId;
	private String memberNumber;
	private String parentDepartmentId;
	private String createdTime;
	private String updatedTime;
	private String departmentName;
	private String[] childrenDepartmentIds;
	 */
	public String toString(){
		return "companyId="+companyId+"   companyId="+companyId+"    memberNumber="+memberNumber+"   parentDepartmentId="+parentDepartmentId+
				"  departmentName="+departmentName+" childrenDepartmentIds="+childrenDepartmentIds.length;
		
	}

}
